#!/bin/bash
for files in *02*.mkv
do
    i=1
    while [ $i -lt 60 ]
    do
	mplayer $files -ss 00:${i}:00 -nosub -vo png:z=9 -frames 1
	mv 00000001.png ${files}_shots_${i}.png
	i=$(($i+10))
    done
done
	